import service from "../index";

export const getName = (data) => {
  return service({
    url: "/wxApp/getMajors",
    method: "POST",
    data,
  });
    return new Promise((res) => {
      res({
        code: 200,
        data: [
           {
            id:'xxx',
            name:'100',
           },
           {
            name:'300',
           },
           {
            name:'400',
           },
           {
            name:'800',
           },
          
        ],
      });
    });
  };



  export const pipeLine = (data) => {
    return service({
      url: "/wxApp/getPipelines",
      method: "POST",
      data,
    });
    return new Promise((res) => {
      res({
        code: 200,
        data: [
           {
            id:'xxx',
            pipeLine:'FL-033002A',
            file:[
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'FL-033010 T',
            file:[
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
             
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-008.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-008.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'FL-033012',
            file:[
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-008.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-008.pdf'
              },
             
            ]
           },
           {
            id:'xxx',
            pipeLine:'FLA-033014',
            file:[
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-008.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-008.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'FLG-033006 T',
            file:[
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-008.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-008.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'FLG-033007 T',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'IA-033001',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LC-033001',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LGN-033001',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LGN-033007',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LGN-033008A T',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LGN-033019A',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LS-033008 T',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LS-033001',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LNG-034004',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LMS-034001',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LMC-034001',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LLS-033024',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LLS-033001',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LLS-033001',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LLC-033001',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LGN-033020A',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
           {
            id:'xxx',
            pipeLine:'LGN-033020A',
            file:[
               {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-006.pdf'
              },
              {
                fileName:'5G-033001管线的PDF文件.pdf',
                url:'http://113.140.81.196:48080/aps/upload/dwg/320902a-SV3-007.pdf'
              },
            ]
           },
        ],
      });
    });
  };

  export const getWeldByQrcode = (data) => {
    return service({
      url: "/wxApp/getWeldByQrcode",
      method: "POST",
      data,
    });
  
  };